package com.rayboo.example.design.pattern.proxy;

/**
 * 代理模式
 * http://c.biancheng.net/view/1359.html
 */
public class Main {

    public static void main(String[] args) {
        XiaoMing xiaoMing = new XiaoMing();
        Lawer lawer = new Lawer(xiaoMing);
        lawer.summit();
        lawer.burden();
        lawer.defend();
        lawer.finish();
    }
}
